﻿using ERPPublic;
using NPOI.SS.Formula.Functions;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WarehouseManagement.Domain.Entity
{
    /// <summary>
    /// 发货产品关联表
    /// </summary>
    [SugarTable("ShipProduct")]
    public class ShipProduct: Audit
    {
        /// <summary>
        /// 发货产品id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int ShipProductId { get; set; }

        /// <summary>
        /// 产品id
        /// </summary>
        public int? ProductId { get; set; }

        /// <summary>
        /// 发货编号
        /// </summary>
        public string? SRANumber { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int? SPNum { get; set; }
        /// <summary>
        /// 包装方式
        /// </summary>
        public string? Packing { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

    }
}
